﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using AbpProjectTemplate.Domain.Roles;
using System;

namespace AbpProjectTemplate.Application.Roles.Dtos
{
    [AutoMapFrom(typeof(Role))]
    public class RoleListDto : EntityDto, IHasCreationTime
    {
        /// <summary>
        /// Name不显示，只作为设置的依据
        /// </summary>
        public string Name { get; set; }

        public string DisplayName { get; set; }

        public bool IsStatic { get; set; }
        /// <summary>
        /// 是否默认角色（创建时默认选中）
        /// </summary>
        public bool IsDefault { get; set; }

        public string Description { get; set; }

        public DateTime CreationTime { get; set; }
    }
}


